%h1
  Listing billing_profiles
%table
  %tr
    %th
      User
    %th
      Status
    %th
      Customer profile
    %th
      Created at
    %th
      Updated at
  - @billing_profiles.each do |billing_profile|
  %tr
    %td
      = h billing_profile.user_id
    %td
      = h billing_profile.status
    %td
      = h billing_profile.customer_profile_id
    %td
      = h billing_profile.created_at
    %td
      = h billing_profile.updated_at
    %td
      = link_to 'Show', billing_profile
    %td
      = link_to 'Edit', edit_billing_profile_path(billing_profile)
    %td
      = link_to 'Destroy', billing_profile, :confirm => 'Are you sure?', :method => :delete
  - end
%br
= link_to 'New billing_profile', new_billing_profile_path
